package com.test.sshsitemesh.framework;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface EntityDAO<E, PK extends Serializable> {

	public List<E> find(String hql, Map<String, Object> values);

	public List<E> findByHql(String hql, Object[] values);

	public List<E> findAllBy(String[] propertyNames, Object[] values);

}
